#!/bin/bash

# 复制项目的文件到对应docker路径，便于一键生成镜像。
usage() {
	echo "Usage: sh copy.sh"
	exit 1
}

# 复制jar文件
echo "begin copy jar "
cp ../giraffe-mqtt/giraffe-mqtt-broker/target/giraffe-mqtt-broker.jar ./giraffe/giraffe-mqtt-broker/jar/giraffe-mqtt-broker.jar
cp ../giraffe-modules/giraffe-device/target/giraffe-device.jar ./giraffe/giraffe-device/jar/giraffe-device.jar
cp ../giraffe-modules/giraffe-device-message/target/giraffe-device-message.jar  ./giraffe/giraffe-device-message/jar/giraffe-device-message.jar
echo "end copy jar "